﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ManagerWorkShow.aspx.cs"
    Inherits="Flow_Info_ManagerWorkShow" %>

<%@ Import Namespace="TarreOA.TarreOAModels" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link rel="Stylesheet" type="text/css" href="../Styles/right_style.css" />
    <script type="text/javascript" src="../Scripts/jquery.ui/js/jquery.js"></script>
    <style type="text/css">
        <!--
        html{ scrollbar-base-color: #dbecf8; scrollbar-arrow-color: #2a8ed1; scrollbar-track-color: #bdddf2; scrollbar-3dlight-color: #2886c5; scrollbar-darkshadow-color: #2886c5;
        scrollbar-face-color: #dbecf8; scrollbar-shadow-color: #dbecf8;  }
        -->
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="sub_right_top">
        <div class="hdm_footer">
            <div style="height: 13px; overflow: hidden;">
            </div>
            <% if (list_workinfos != null && list_workinfos.Count > 0)
               { %>
            <table width="97%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#77acd0" style="border-collapse:collapse; ">
                <tr align="center" height="30px" bgcolor="#b1d5ef">
                    <td>
                        <b>状态</b>
                    </td>
                    <td>
                        <b>流程名称</b>
                    </td>
                    <td>
                        <b>文号/说明</b>
                    </td>
                    <td>
                        <b>步骤</b>
                    </td>
                    <td>
                        <b>查看</b>
                    </td>
                    <td>
                        <b>流程控制</b>
                    </td>
                </tr>
                <% 
                   foreach (FlowFront_WorkInfo fw in list_workinfos)
                   {  
                %>
                <tr align="center" height="25px">
                    <td>
                        <% if (fw.Prc_state == 1)
                           { %>
                        <img src="../images/email_close.gif" />
                        <% }
                           else
                           { %>
                        <img src="../images/email_open.gif" />
                        <% } %>
                    </td>
                    <td>
                        <%= fw.New_flow_name %>
                    </td>
                    <td>
                        <%=fw.New_work_name %>
                    </td>
                    <td>
                        第<font color="red"><%=fw.Prc_sort %></font>步:<%=fw.Prc_name %>
                    </td>
                    <td>
                        <a href="TRWorkIndex.aspx?WR_ID=<%=fw.New_work_id %>&ST_SO=<%= fw.Prc_sort %>&jumpType=2">
                            表单</a> <a href="WorkProcessShow.aspx?WR_ID=<%=fw.New_work_id %>">流程图</a>
                        <a href="DeleteWork.aspx?WR_ID=<%=fw.New_work_id %>" onclick="return confirm('您确定删除当前此工作吗？')">
                            删除</a>
                    </td>
                    <td>
                        <a href="WorkToNext.aspx?FLOW_ID=<%=fw.New_flow_id %>&ST_SO=<%=fw.Prc_sort %>&WO_ID=<%=fw.New_work_id %>&jumpType=2">
                            转交下步</a>
                    </td>
                </tr>
                <% } %>
            </table>
            <% }
               else
               { %>
            <table width="97%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#77acd0" style="border-collapse:collapse; ">
         <tr bgcolor="#b1d5ef">
                    <td align="center" height="30px">
                        <b>消息提示</b>
                    </td>
                </tr>
                <tr height="50" valign="middle">
                    <td align="center">
                        <font style="font-size: 12px">暂无可监控工作^_^!!!</font>
                    </td>
                </tr>
            </table>
            <% } %>
        </div>
    </div>
    </form>
</body>
</html>
